package ${packageName}.domain.po;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;

/**
 * @author honglei
 * @version 1.0
 * @time: ${dateTime}
 * @Description PO对象 ${comments}
 */
@Data
@TableName(value = "${tableName}")
public class ${poName} implements Serializable {


<#if columnBeanList?exists>
    <#list columnBeanList as model>
        /**
        *  ${model.comments!}
        */
        <#if (model.columnType = 'varchar' || model.columnType = 'text')>
            private String ${model.attrname};
        <#else >
            private String ${model.attrname};
        </#if>
        <#--<#if model.columnType = 'timestamp' >-->
    <#--@Column(name = "${model.columnName}",columnDefinition = "TIMESTAMP")-->
    <#--private Date ${model.changeColumnName?uncap_first};-->

        <#--</#if>-->
    </#list>
</#if>
}
